package com.shijie.sjoj.model.pojo.base;

import com.shijie.sjoj.model.base.BasePojo;
import lombok.Getter;

/**
 * 判题结果比较错误类
 *
 * @author ZSJ
 */
@Getter
public class CompareIncorrect implements BasePojo {

    /**
     * 原型结果
     */
    private final String origin;

    /**
     * 执行输出的结果
     */
    private final String execute;

    private CompareIncorrect(String origin, String execute) {
        this.origin = origin;
        this.execute = execute;
    }

    /**
     * @param origin  原型结果（正确结果）
     * @param execute 执行输出的结果（错误结果）
     * @return CompareIncorrect
     */
    public static CompareIncorrect of(String origin, String execute) {
        return new CompareIncorrect(origin, execute);
    }


}
